package com.tddx.activiti.business.sys.entity.systmenu;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Where;

import com.tddx.activiti.base.BaseEntity;

@Entity
@Table(name="SYS_T_MENU")
@Where(clause="VC_DEL='0'")
public class SysTmenuEntity extends BaseEntity{
	
	private static final long serialVersionUID = 1L;

	@Column(name="PID")
	private Long pid;
	
	@Column(name="VC_URL")
	private String vcUrl;
	
	@Column(name="VC_NAME")
	private String vcName;
	
	@Column(name="VC_SEE", length=1)
	private String vcSee = BaseEntity.MENU_HIDDEN;
	
	@Column(name="VC_PERMISSION", length=50)
	private String vcPermission;
	
	@Column(name="N_ORDER")
	private Integer nOrder = 1;

	public Long getPid() {
		return pid;
	}

	public void setPid(Long pid) {
		this.pid = pid;
	}

	public String getVcUrl() {
		return vcUrl;
	}

	public void setVcUrl(String vcUrl) {
		this.vcUrl = vcUrl;
	}

	public String getVcName() {
		return vcName;
	}

	public void setVcName(String vcName) {
		this.vcName = vcName;
	}

	public Integer getnOrder() {
		return nOrder;
	}

	public void setnOrder(Integer nOrder) {
		this.nOrder = nOrder;
	}

	public String getVcSee() {
		return vcSee;
	}

	public void setVcSee(String vcSee) {
		this.vcSee = vcSee;
	}

	public String getVcPermission() {
		return vcPermission;
	}

	public void setVcPermission(String vcPermission) {
		this.vcPermission = vcPermission;
	}
	
}
